Function |is_digit

std/text/compare/char::|is_digit


Usage

|is_digit(char, base)

Parameters

↳ char: char
↳ base: u8

Return

↴ bool


Tells if char is digit.

  • base: must be between 0 and 36, if over function will return false in any case.